package com.jumi.microservice.material.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jumi.microservice.material.domain.JmDictValue;

import java.util.List;

/**
 * @author ssk
 * @create 2020/8/4 10:30
 **/
public interface JmDictValueMapper extends BaseMapper<JmDictValue> {

    List<JmDictValue> findListByDictId(Long dictId);

    List<JmDictValue> findListByDictCode(String dictCode);

	Integer findIdByName(String valueName);

	JmDictValue findById(Long valId);

	String findNameById(Integer valId);
}
